import request from '../../utils/request'

// 案例列表

const getCaseList = (id, page = 1, length = 6) => {
  return request({
    url: '/api/categories/' + id + '/cases',
    method: 'GET',
    data: {
      page, length
    }
  })
}


module.exports = {
  getCaseList
}